package com.ethink.order.service;

import com.ethink.order.api.info.TocSaleImportJobLogInfo;
import com.ethink.order.api.request.TocSaleImportJobLogAddRequest;

import java.util.List;

/**
 * 销售单批量导入job处理结果记录表 Service接口
 *
 * @author default
 * @date 2022-12-20
 */
public interface TocSaleImportJobLogService {


    Integer add(TocSaleImportJobLogAddRequest addRequest);

    List<TocSaleImportJobLogInfo> queryLogByLogId(Long logId);

    Integer processTocSaleImportJobLog(Long id);

    List<TocSaleImportJobLogInfo> queryFailureLogs(Long id);

    Integer updateByShopNoAndLogId(TocSaleImportJobLogAddRequest updateRequest);
}